using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Weight.Base;

namespace JHVideo
{
    public interface IVideo
	{
        /// <summary>
        /// 初始化
        /// </summary>
        /// <returns></returns>
        ResultEntity Init();

        /// <summary>
        /// 登录
        /// </summary>
        /// <returns></returns>
        ResultEntity Login(LoginEntity model);

        /// <summary>
        /// 预览
        /// </summary>
        ResultEntity Play(List<ChannelEntity> channels); 

        /// <summary>
        /// 抓拍图片
        /// </summary>
        ResultEntity CaptureImg(CaptureParamEntity entity);

        /// <summary>
        ///停止预览
        /// </summary>
        ResultEntity StopPlay();

        /// <summary>
        /// 关闭监控
        /// </summary>
        ResultEntity Close();

	}
}


